//package org.ricks.bootstrap.controller.rpc;
//
//import org.ricks.bootstrap.entity.User;
//import org.ricks.bootstrap.service.OrmService;
//import org.ricks.common.lang.Logger;
//import org.ricks.ioc.anno.Autowired;
//import org.ricks.net.DefaultContext;
//import org.ricks.ioc.anno.Action;
//import org.ricks.net.action.anno.ActionMethod;
//
//@Action
//public class RpcController {
//
//    @Autowired
//    private OrmService ormService;
//
//    @ActionMethod(cmd = 200)
//    public void rpcTest(DefaultContext context) {
//        Logger.info("into rpc test 200......" );
//    }
//
//    @ActionMethod(cmd = 201)
//    public void rpcTest201(DefaultContext context) {
//        User user = ormService.test();
//        Logger.info("into rpc test 201......" + user );
//    }
//}
